package space.sakana.edusysback.result;

public class DataResult extends Result{
    private String data;

    public DataResult(boolean success, String message, int code, String data) {
        super(success, message, code);
        this.data = data;
    }

    public DataResult(String data) {
        this.data = data;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
